from django.db import models
from datetime import datetime
# Create your models here.

class Contact(models.Model):
    player_id = models.IntegerField()
    player = models.CharField(max_length=100)
    name = models.CharField(max_length=200)
    email = models.CharField(max_length=100)
    message = models.TextField(blank=True)
    contact_date =models.DateTimeField(default=datetime.now, blank=True)
    user_id = models.IntegerField(blank=True)
    

    def __str__(self):
        return self.name